package com.fitbet.wechat.visitor.impl;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * 
 * @author mohanlan
 *
 */
@Component("cloudContextVisitor")
public class CloudContextVisitor {
    
    @Value("#{cloud['qiniu.host']}")
    private String qiniuHost;

    @Value("#{cloud['qiniu.token']}")
    private String qiniuToken;

    /**
     * @return the qiniuHost
     */
    public String getQiniuHost() {
        return qiniuHost;
    }

    /**
     * @return the qiniuToken
     */
    public String getQiniuToken() {
        return qiniuToken;
    }

    /**
     * @param qiniuHost the qiniuHost to set
     */
    public void setQiniuHost(String qiniuHost) {
        this.qiniuHost = qiniuHost;
    }

    /**
     * @param qiniuToken the qiniuToken to set
     */
    public void setQiniuToken(String qiniuToken) {
        this.qiniuToken = qiniuToken;
    }
}
